all:server client

server:Server.cc request.pb.cc /home/zjx/muduo/examples/protobuf/codec/codec.cc 
	g++ -o $@ $^ -std=c++11 -lmuduo_net -lmuduo_base -pthread -lprotobuf -lz
client:Client.cc request.pb.cc /home/zjx/muduo/examples/protobuf/codec/codec.cc 
	g++ -o $@ $^ -std=c++11 -lmuduo_net -lmuduo_base -pthread -lprotobuf -lz

.PHONY:cleam
clean:
	rm -f server client